package cn.declare.bean;

import org.springframework.stereotype.Component;

/**
 * author: 皇甫
 * 产品状况
 */
public class Product {

  private long productId;
  private long capacity;
  private String productsName;
  private long inventory;
  private String newOrders;
  private String handheldOrders;
  private String reasonChange;
  private long productType;
  private String productTypeName;

  public String getProductTypeName() {
    return productTypeName;
  }

  public void setProductTypeName(String productTypeName) {
    this.productTypeName = productTypeName;
  }

  public long getProductId() {
    return productId;
  }

  public void setProductId(long productId) {
    this.productId = productId;
  }


  public long getCapacity() {
    return capacity;
  }

  public void setCapacity(long capacity) {
    this.capacity = capacity;
  }


  public String getProductsName() {
    return productsName;
  }

  public void setProductsName(String productsName) {
    this.productsName = productsName;
  }


  public long getInventory() {
    return inventory;
  }

  public void setInventory(long inventory) {
    this.inventory = inventory;
  }


  public String getNewOrders() {
    return newOrders;
  }

  public void setNewOrders(String newOrders) {
    this.newOrders = newOrders;
  }


  public String getHandheldOrders() {
    return handheldOrders;
  }

  public void setHandheldOrders(String handheldOrders) {
    this.handheldOrders = handheldOrders;
  }


  public String getReasonChange() {
    return reasonChange;
  }

  public void setReasonChange(String reasonChange) {
    this.reasonChange = reasonChange;
  }


  public long getProductType() {
    return productType;
  }

  public void setProductType(long productType) {
    this.productType = productType;
  }


  @Override
  public String toString() {
    return "Product{" +
            "productId=" + productId +
            ", capacity=" + capacity +
            ", productsName='" + productsName + '\'' +
            ", inventory=" + inventory +
            ", newOrders='" + newOrders + '\'' +
            ", handheldOrders='" + handheldOrders + '\'' +
            ", reasonChange='" + reasonChange + '\'' +
            ", productType=" + productType +
            ", productTypeName='" + productTypeName + '\'' +
            '}';
  }
}
